// 员工权限组
import request from "@/utils/https/requests";
// 列表
export function adminPermissionGroupList(data: any) {
  return request({
    url: "/adminPermissionGroup/list",
    method: "post",
    data,
  });
}
// 添加
export function postAddAdminPermissionGroup(data: any) {
  return request({
    url: "/adminPermissionGroup/postAdd",
    method: "post",
    data,
  });
}
// 修改
export function postModAdminPermissionGroup(data: any) {
  return request({
    url: `/adminPermissionGroup/postMod/${data.id}`,
    method: "post",
    data,
  });
}
// 详情
export function adminPermissionGroupDetail(id: string) {
  return request({
    url: `/adminPermissionGroup/detail/${id}`,
    method: "post",
  });
}
// 删除
export function postDeleteAdminPermissionGroup(id: string) {
  return request({
    url: `/adminPermissionGroup/postDelete/${id}`,
    method: "post",
  });
}
